Avoid a double free error if reading the colormap fails.
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 21 Mar 2002 00:31:23 +0000 (00:31 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 21 Mar 2002 00:31:23 +0000 (00:31 +0000)
commit3b7193dd8bc775557f1e6f89c85b7f7df6592395
tree41febb0e34d018445e8f464a9f867aee8d4dc9ef
parent22b1b079ef3c55c7a3e6f2bdb873130596b3456d
Avoid a double free error if reading the colormap fails.

* io-tga.c (try_colormap, gdk_pixbuf__tga_stop_load): Avoid a
double free error if reading the colormap fails.

* io-tiff.c (tiff_image_parse): Make TIFFReadRGBAImage stop on
errors, since it may otherwise segfault on certain bad TIFFs.
gdk-pixbuf/io-tga.c
gdk-pixbuf/io-tiff.c